home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 11
/
FM Towns Free Software Collection 11.iso
/
fb386
/
tool
/
watanabe
/
short
/
peek.bas
< prev
next >
Wrap
BASIC Source File
|
1994-05-09
|
288b
|
11 lines
10 CLS:A=VAL("&H0")
20 PRINT USING "アドレス & & データ ###########";HEX$(A);I
30 PRINT A
40 PA=PAD(1):PT=PTRIG(1)
50 IF PA=1 AND A>0 THEN A=A-1
60 IF PA=5 THEN A=A+1
70 IF PT>0 THEN WAIT PT*10
80 IF PTRIG(1)=1 THEN M=0 ELSE M=2
100 LOCATE 0,0:T=TIME:I=PEEK(A,4)
110 GOTO 20